{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "7df32aa9-af6c-4972-9bc8-04f8fb4aaf56",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "/project/train/bisenet\n",
      "water\n",
      "Namespace(batch_size=5, checkpoint_step=1, context_path='resnet18', crop_height=720, crop_width=960, csv='jishui.txt', cuda='0', data='/path/4/CamVid', dataset='CamVid', epoch_start_i=0, learning_rate=0.025, loss='dice', num_classes=2, num_epochs=1000, num_workers=1, optimizer='sgd', pretrained_model_path=None, save_model_path='/project/train/models', test_label_path='/home/data/573/*.jpg', train_label_path='/home/data/572/*.jpg', use_gpu=True, validation_step=1)\n",
      "train /home/data/572/*.jpgimglen:100\n",
      "test /home/data/573/*.jpgimglen:100\n",
      "epoch 0, lr 0.025000\n",
      "loss for train : 2.352642\n",
      "start val!\n",
      "precision per pixel for test: 0.606\n",
      "mIoU for validation: 0.568\n",
      "epoch 1, lr 0.024977\n",
      "loss for train : 2.248928\n",
      "start val!\n"
     ]
    }
   ],
   "source": [
    "%cd /project/train/bisenet\n",
    "!sh r.sh\n",
    "# !python3 train.py"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "adb78f37-dd60-4756-809f-10dd2802a0ba",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
